package com.wangyi.org.service;

import com.wangyi.basic.service.IBaseService;
import com.wangyi.org.domain.Shop;
import com.wangyi.org.domain.ShopAuditLog;
import com.wangyi.org.dto.ShopDto;

import javax.mail.MessagingException;
import java.util.List;

/**
 * 业务接口：员工
 */
public interface IShopService extends IBaseService<Shop> {

    /**
     * 店铺入驻
     * @param shop
     */
    void settlement(Shop shop);

    void pass(ShopAuditLog log) throws MessagingException;

    void reject(ShopAuditLog log) throws MessagingException;

    /**
     * 获取每一个店铺状态的数量
     * @return
     */
    List<ShopDto> getShopState();

    void goLogin(Long id) throws MessagingException;
}
